package com.sdgc.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class EmpQueryParam {
    private Integer page = 1;//页码
    private Integer pageSize = 10;//每页展示记录数
    private String name;//姓名
    private String gender;//性别
    @DateTimeFormat(pattern = "yyy-MM-dd")
    private LocalDate begin;//入职时间
    @DateTimeFormat(pattern = "yyy-MM-dd")
    private LocalDate end;//结束时间
}
